  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  }

  :root {
      --bilibili-blue: #00A1D6;
      --bilibili-pink: #FB7299;
      --light-bg: #FFFFFF;
      --sidebar-bg: #F8F9FA;
      --card-bg: #FFFFFF;
      --text-dark: #212529;
      --text-gray: #6C757D;
      --border-color: #E9ECEF;
      --hover-bg: #F1F3F5;
  }

  body {
      background-color: var(--light-bg);
      color: var(--text-dark);
      display: flex;
      min-height: 100vh;
  }

  /* 左侧导航栏 */
  .sidebar {
      width: 220px;
      background-color: var(--sidebar-bg);
      padding: 20px 0;
      display: flex;
      flex-direction: column;
      border-right: 1px solid var(--border-color);
      position: relative;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  }

  .logo {
      padding: 0 20px 20px;
      border-bottom: 1px solid var(--border-color);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .logo img {
      height: 40px;
  }

  .logo-text {
      font-size: 20px;
      font-weight: bold;
      background: linear-gradient(90deg, var(--bilibili-blue), var(--bilibili-pink));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  }

  /* 投稿按钮 */
  .upload-btn {
      background: var(--bilibili-blue);
      color: white;
      border: none;
      border-radius: 6px;
      padding: 12px 20px;
      margin: 0 20px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s;
      box-shadow: 0 4px 12px rgba(0, 161, 214, 0.2);
      text-decoration: none;
  }

  .upload-btn i {
      margin-right: 8px;
      font-size: 16px;
  }

  .upload-btn:hover {
      background: #0088b3;
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(0, 161, 214, 0.25);
  }

  .upload-btn:active {
      transform: translateY(0);
      box-shadow: 0 3px 8px rgba(0, 161, 214, 0.2);
  }

  .nav-item {
      padding: 12px 25px;
      display: flex;
      align-items: center;
      color: var(--text-gray);
      text-decoration: none;
      transition: all 0.3s;
      font-size: 15px;
      border-left: 3px solid transparent;
  }

  .nav-item i {
      margin-right: 12px;
      font-size: 18px;
      width: 24px;
      text-align: center;
  }

  .nav-item:hover,
  .nav-item.active {
      background: var(--hover-bg);
      color: var(--bilibili-blue);
      border-left: 3px solid var(--bilibili-blue);
  }

  .nav-item.active {
      color: var(--bilibili-blue);
      font-weight: 500;
  }

  /* 主内容区 */
  .main-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      background: var(--light-bg);
  }

  /* 顶部工具栏 */
  .top-bar {
      height: 60px;
      background-color: var(--sidebar-bg);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 25px;
      border-bottom: 1px solid var(--border-color);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  }

  .search-box {
      position: relative;
      width: 300px;
  }

  .search-box input {
      width: 100%;
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 8px 15px 8px 40px;
      color: var(--text-dark);
      font-size: 14px;
      transition: all 0.3s;
  }

  .search-box input:focus {
      outline: none;
      border-color: var(--bilibili-blue);
      box-shadow: 0 0 0 3px rgba(0, 161, 214, 0.1);
  }

  .search-box i {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-gray);
  }

  .user-actions {
      display: flex;
      align-items: center;
  }

  .notification {
      position: relative;
      margin-right: 25px;
      font-size: 18px;
      color: var(--text-gray);
      cursor: pointer;
      transition: color 0.2s;
  }

  .notification:hover {
      color: var(--bilibili-blue);
  }

  /*.notification::after {
            content: "3";
            position: absolute;
            top: -5px;
            right: -10px;
            background: var(--bilibili-pink);
            color: white;
            font-size: 10px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }*/

  .user-profile {
      display: flex;
      align-items: center;
      cursor: pointer;
      padding: 5px 10px;
      border-radius: 20px;
      transition: background 0.2s;
  }

  .user-profile:hover {
      background: var(--hover-bg);
  }

  .user-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(45deg, var(--bilibili-blue), var(--bilibili-pink));
      margin-right: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 18px;
  }

  .username {
      font-size: 14px;
      color: var(--text-dark);
      font-weight: 500;
  }

  /* 内容区域 */
  .content-area {
      padding: 25px;
      flex: 1;
      overflow-y: auto;
      background: #f0f2f5;
  }

  .section-title {
      font-size: 20px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      color: var(--text-dark);
  }

  .section-title i {
      margin-right: 10px;
      color: var(--bilibili-blue);
  }

  /* 评论管理模块 */
  .comment-management {
      background: var(--card-bg);
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      border: 1px solid var(--border-color);
      overflow: hidden;
  }

  .comment-tools {
      display: flex;
      padding: 15px 20px;
      border-bottom: 1px solid var(--border-color);
      background: var(--sidebar-bg);
      flex-wrap: wrap;
      gap: 15px;
  }

  .filter-group {
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .filter-label {
      font-size: 14px;
      color: var(--text-gray);
  }

  .filter-select {
      padding: 8px 12px;
      border: 1px solid var(--border-color);
      border-radius: 4px;
      background: var(--card-bg);
      color: var(--text-dark);
      cursor: pointer;
      transition: all 0.3s;
  }

  .filter-select:focus {
      outline: none;
      border-color: var(--bilibili-blue);
      box-shadow: 0 0 0 3px rgba(0, 161, 214, 0.1);
  }

  .action-buttons {
      display: flex;
      gap: 10px;
  }

  .action-btn {
      padding: 8px 15px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 5px;
  }

  .action-btn.primary {
      background: var(--bilibili-blue);
      color: white;
  }

  .action-btn.primary:hover {
      background: #0088b3;
  }

  .action-btn.secondary {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      color: var(--text-gray);
  }

  .action-btn.secondary:hover {
      background: var(--hover-bg);
      border-color: var(--bilibili-blue);
      color: var(--bilibili-blue);
  }

  .comment-list {
      padding: 0;
  }

  .comment-item {
      padding: 15px 20px;
      border-bottom: 1px solid var(--border-color);
      transition: background 0.2s;
  }

  .comment-item:hover {
      background: var(--hover-bg);
  }

  .comment-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
  }

  .comment-user {
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .user-avatar.small {
      width: 28px;
      height: 28px;
      font-size: 14px;
  }

  .user-name {
      font-weight: 500;
      color: var(--text-dark);
  }

  .comment-time {
      font-size: 12px;
      color: var(--text-gray);
  }

  .comment-content {
      margin-bottom: 15px;
      line-height: 1.5;
      color: var(--text-dark);
  }

  .comment-source {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--bilibili-blue);
      margin-bottom: 12px;
  }

  .source-link {
      color: var(--bilibili-blue);
      text-decoration: none;
  }

  .source-link:hover {
      text-decoration: underline;
  }

  .comment-actions {
      display: flex;
      gap: 15px;
  }

  .comment-action {
      display: flex;
      align-items: center;
      gap: 5px;
      color: var(--text-gray);
      font-size: 13px;
      cursor: pointer;
      transition: color 0.2s;
  }

  .comment-action:hover {
      color: var(--bilibili-blue);
  }

  .comment-action.delete:hover {
      color: #F44336;
  }

  .pagination {
      display: flex;
      justify-content: center;
      padding: 20px;
      border-top: 1px solid var(--border-color);
  }

  .pagination-btn {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border-color);
      border-radius: 4px;
      margin: 0 3px;
      background: var(--card-bg);
      color: var(--text-gray);
      cursor: pointer;
      transition: all 0.3s;
  }

  .pagination-btn:hover,
  .pagination-btn.active {
      border-color: var(--bilibili-blue);
      color: var(--bilibili-blue);
      background: rgba(0, 161, 214, 0.1);
  }

  .pagination-btn.disabled {
      opacity: 0.5;
      cursor: not-allowed;
  }

  /* 投稿模态框 */
  .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 1000;
      align-items: center;
      justify-content: center;
  }

  .modal-content {
      background: var(--card-bg);
      width: 600px;
      max-width: 90%;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .modal-header {
      background: var(--bilibili-blue);
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .modal-title {
      color: white;
      font-size: 18px;
      font-weight: bold;
  }

  .close-btn {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      padding: 0 10px;
      transition: color 0.2s;
  }

  .close-btn:hover {
      color: #f0f0f0;
  }

  .modal-body {
      padding: 20px;
  }

  .form-group {
      margin-bottom: 20px;
  }

  .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: var(--text-gray);
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
      width: 100%;
      padding: 10px;
      background: var(--light-bg);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      color: var(--text-dark);
      font-size: 14px;
      transition: border 0.3s;
  }

  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
      outline: none;
      border-color: var(--bilibili-blue);
      box-shadow: 0 0 0 3px rgba(0, 161, 214, 0.1);
  }

  .form-group textarea {
      min-height: 100px;
      resize: vertical;
  }

  .file-upload {
      border: 2px dashed var(--border-color);
      border-radius: 8px;
      padding: 30px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s;
      background: var(--light-bg);
  }

  .file-upload:hover {
      border-color: var(--bilibili-blue);
      background: rgba(0, 161, 214, 0.05);
  }

  .file-upload i {
      font-size: 40px;
      color: var(--bilibili-blue);
      margin-bottom: 15px;
  }

  .file-upload p {
      color: var(--text-gray);
      margin-bottom: 10px;
  }

  .modal-footer {
      padding: 15px 20px;
      background: var(--sidebar-bg);
      display: flex;
      justify-content: flex-end;
      border-top: 1px solid var(--border-color);
  }

  .btn-submit {
      background: var(--bilibili-blue);
      color: white;
      border: none;
      border-radius: 4px;
      padding: 10px 20px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
  }

  .btn-submit:hover {
      background: #0088b3;
  }

  /* 响应式调整 */
  @media (max-width: 992px) {
      .sidebar {
          width: 70px;
      }

      .nav-item span {
          display: none;
      }

      .nav-item i {
          margin-right: 0;
          font-size: 20px;
      }

      .logo-text {
          display: none;
      }

      /* 小屏幕下投稿按钮样式 */
      .upload-btn {
          padding: 12px 0;
          margin: 0 15px 15px;
      }

      .upload-btn span {
          display: none;
      }

      .upload-btn i {
          margin-right: 0;
          font-size: 20px;
      }
  }

  @media (max-width: 768px) {
      .comment-tools {
          flex-direction: column;
      }

      .filter-group {
          width: 100%;
      }

      .filter-select {
          flex: 1;
      }

      .action-buttons {
          width: 100%;
          justify-content: flex-end;
      }

      .search-box {
          width: 150px;
      }
  }